package main1.s_CommandModel;

/**
 * Created by newtranx_011 on 2017/9/26.
 */
public class Main {
    public static void main(String[] args) {
        test();
    }

    public static void test() {
        Receiver receiver = new Receiver();
        Command cmd = new MyCommand(receiver);
        Invoker invoker = new Invoker(cmd);
        invoker.action();
    }
}
